import request from '@/utils/request'

export function getAuditOrders(data = {}) {
  return request({
    url: '/statistics/getAuditOrders',
    method: 'post',
    params: data
  })
}

export function getStatisticsList(data = {}) {
  return request({
    url: '/statistics/getStatisticsList',
    method: 'post',
    params: data
  })
}

export function auditRes(data = {}) {
  return request({
    url: '/statistics/auditRes',
    method: 'post',
    params: data
  })
}

export function statisticsByMonth(data = {}) {
  return request({
    url: '/statistics/statisticsByMonth',
    method: 'post',
    params: data
  })
}

export function submitStatistics(data = {}) {
  return request({
    url: '/statistics/submitStatistics',
    method: 'post',
    params: data
  })
}

export function opStatistics(data = {}) {
  return request({
    url: '/statistics/opStatistics',
    method: 'post',
    params: data
  })
}

export function updateStatisticsDetail(data = {}) {
  return request({
    url: '/statistics/updateStatisticsDetail',
    method: 'post',
    params: data
  })
}

export function getStatisticsAuditRecords(data = {}) {
  return request({
    url: '/statistics/getStatisticsAuditRecords',
    method: 'post',
    params: data
  })
}

export function previewStatistics(data = {}) {
  return request({
    url: '/statistics/previewStatistics',
    method: 'post',
    params: data
  })
}

export function getReportByMonth(data = {}) {
  return request({
    url: '/statistics/getReportByMonth',
    method: 'post',
    params: data
  })
}

export function createReport(data = {}) {
  return request({
    url: '/statistics/createReport',
    method: 'post',
    params: data
  })
}

export function getReadiesByStatistic(data = {}) {
  return request({
    url: '/statistics/getReadiesByStatistic',
    method: 'post',
    params: data
  })
}
export function batchConfirm(data = {}) {
  return request({
    url: '/statistics/batchConfirm',
    method: 'post',
    params: data
  })
}


